package com.ym.medical.domain.entity;

import com.ym.common.constant.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Table;

/**
 * 电话规则表对象 phone_rule
 *
 * @author ym
 * @date 2020-08-24
 */
@ApiModel("电话规则表-实体")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "phone_rule")
public class PhoneRuleEntity extends BaseEntity {

	private static final long serialVersionUID = 1L;

	/**
	 * 规则名称
	 */
	@ApiModelProperty("规则名称")
	private String prName;

	/**
	 * 通话时长(分钟)
	 */
	@ApiModelProperty("通话时长(分钟)")
	private Integer prDuration;

	/**
	 * 是否默认
	 */
	@ApiModelProperty("是否默认")
	private String isDefault;

}
